/* 
 * File:   CalcObjet.h
 * Author: Gab'z
 *
 * Created on 9 mai 2012, 22:27
 */

#ifndef CALCOBJET_H
#define	CALCOBJET_H
#include <stdexcept>
#include <string>
#include <sstream> 
#include <iostream>

class CalcObjet {
public:

    virtual ~CalcObjet();
    virtual std::string toString() const = 0;

    void print(std::ostream& F) const {
        F << toString();
    }
private:

};
std::ostream& operator<<(std::ostream& F, const CalcObjet& c);

#endif	/* CALCOBJET_H */

